﻿		var setting = {
			data: {
				simpleData: {
					enable: true
				}
			}
		};

		var zNodes =[
			{ id:1, pId:0, name:"全院绩效管理", open:true},
			{ id:101, pId:1, name:"公正指标", open:true},
			{ id:10101, pId:101, name:"立案变更率",url:"table_1_labgl.aspx",target:"ReportFrm"},
			{ id:10102, pId:101, name:"一审案件陪审率",url:"table_2_ysajpsl.aspx",target:"ReportFrm"},
			{ id:10103, pId:101, name:"一审判决案件被改判发回重审率"},
			{ id:1010301, pId:10103, name:"总表",url:"table_3_yspjajbgpfhcsl",target:"ReportFrm"},
			{ id:1010302, pId:10103, name:"刑表",url:"table_3_yspjajbgpfhcsl",target:"ReportFrm"},
			{ id:1010303, pId:10103, name:"民表",url:"table_3_yspjajbgpfhcsl",target:"ReportFrm"},
			{ id:1010304, pId:10103, name:"行政",url:"table_3_yspjajbgpfhcsl",target:"ReportFrm"},
			{ id:10104, pId:101, name:"二审改判发回重审率",url:"table_4_ysgpfhcsl",target:"ReportFrm"},
			{ id:10105, pId:101, name:"二审开庭审理率",url:"table_5_esktsll.aspx",target:"ReportFrm"},
			{ id:10106, pId:101, name:"对下级法院生效案件提起再审率"},
			{ id:1010601, pId:10106, name:"提起再审情况",url:"table_6_dxjfysxajtqzsl.aspx",target:"ReportFrm"},
			{ id:1010602, pId:10106, name:"提起再审原因",url:"table_6_dxjfysxajtqzsl_yy.aspx",target:"ReportFrm"},
			{ id:10107, pId:101, name:"生效案件被改判发回重审率"},
			{ id:1010701, pId:10107, name:"总表",url:"table_7_sxajbgpfhcsl.aspx",target:"ReportFrm"},
			{ id:1010702, pId:10107, name:"刑表",url:"table_7_sxajbgpfhcsl_xs.aspx",target:"ReportFrm"},
			{ id:1010703, pId:10107, name:"民表",url:"table_7_sxajbgpfhcsl_ms.aspx",target:"ReportFrm"},
			{ id:1010704, pId:10107, name:"行政",url:"table_7_sxajbgpfhcsl_xz.aspx",target:"ReportFrm"},
			{ id:10108, pId:101, name:"对下级法院生效案件再审改判发回重审率",url:"table_7_sxajbgpfhcsl_4.aspx",target:"ReportFrm"},
			{ id:10109, pId:101, name:"再审审查询问（听证）率",url:"table_9_zsscxw(tz)l.aspx",target:"ReportFrm"},
			{ id:10110, pId:101, name:"司法赔偿率"},
			{ id:1011001, pId:10110, name:"总表",url:"table_10_sfpcl.aspx",target:"ReportFrm"},
			{ id:1011002, pId:10110, name:"国家赔偿案件和解情况",url:"table_10_sfpcl_1.aspx",target:"ReportFrm"},
			{ id:1011003, pId:10110, name:"国家赔偿案件类型",url:"table_10_sfpcl_2.aspx",target:"ReportFrm"},
			{ id:1011004, pId:10110, name:"国家赔偿案件改判情况",url:"table_10_sfpcl_3.aspx",target:"ReportFrm"},
			{ id:10111, pId:101, name:"裁判文书评分",url:"table_11_cpwspf.aspx",target:"ReportFrm"},
			
			
			{ id:102, pId:1, name:"效率指标", open:true},
			{ id:10201, pId:102, name:"法定期限内立案率",url:"table_12_fdqxnlal.aspx",target:"ReportFrm"},
			{ id:10202, pId:102, name:"一审简易程序适用率",url:"tabel_13_ysjycxsyl.aspx",target:"ReportFrm"},
			{ id:10203, pId:102, name:"当庭裁判率",url:"tabel_14_dtcpl.aspx",target:"ReportFrm"},
			{ id:10204, pId:102, name:"法定（正常）审限内结案率",url:"tabel_15_fdsxnjal.aspx",target:"ReportFrm"},
			{ id:10205, pId:102, name:"平均审理时间指数"},
			{ id:102051, pId:10205, name:"刑表",url:"",target:"ReportFrm"},
			{ id:102052, pId:10205, name:"民表",url:"",target:"ReportFrm"},
			{ id:102053, pId:10205, name:"行政",url:"",target:"ReportFrm"},
			{ id:10206, pId:102, name:"平均执行时间指数",url:"",target:"ReportFrm"},
			{ id:10207, pId:102, name:"延长审限未结比",url:"tabel_18_ycsxwjb.aspx",target:"ReportFrm"},
			{ id:10208, pId:102, name:"结案均衡度",url:"tabel_19_jajhd.aspx",target:"ReportFrm"},
			{ id:10209, pId:102, name:"法院年人均结案数",url:"tabel_20_fynrjjas.aspx",target:"ReportFrm"},
			{ id:10210, pId:102, name:"法官年人均结案数",url:"table_21_fgrjjas.aspx",target:"ReportFrm"},
			
			{ id:103, pId:1, name:"效果指标", open:true},
			{ id:10301, pId:103, name:"一审服判息诉率",url:"table_22_ysfpxsl.aspx",target:"ReportFrm"},
			{ id:10302, pId:103, name:"调解率"},
			{ id:103021, pId:10302, name:"总表",url:"table_23_tjl.aspx",target:"ReportFrm"},
			{ id:103022, pId:10302, name:"诉讼调解案件分段",url:"table_23_tjl_1.aspx",target:"ReportFrm"},
			{ id:103023, pId:10302, name:"诉前调解及诉前联动调解情况",url:"table_23_tjl_2.aspx",target:"ReportFrm"},
			{ id:103023, pId:10302, name:"诉前联动调解情况分类",url:"table_23_tjl_3.aspx",target:"ReportFrm"},
			{ id:10303, pId:103, name:"撤诉率",url:"table_24_csl.aspx",target:"ReportFrm"},
			{ id:10304, pId:103, name:"实际执行率",url:"table_25_sjzxl.aspx",target:"ReportFrm"},
			{ id:10305, pId:103, name:"执行标的到位率",url:"table_26_zxbddwl.aspx",target:"ReportFrm"},
			{ id:10306, pId:103, name:"裁判自动履行率",url:"",target:"ReportFrm"},
			{ id:10307, pId:103, name:"调解案件申请执行率",url:"table_28_tjajsqzxl.aspx",target:"ReportFrm"},
			{ id:10308, pId:103, name:"再审审查率",url:"",target:"ReportFrm"},
			{ id:10309, pId:103, name:"信访投诉率",url:"table_30_xftsl.aspx",target:"ReportFrm",click:""}
			
			
		];



		var zNodes2 =[
			{ id:1, pId:0, name:"全院", open:true,url:"treetable.aspx",target:"ReportFrm"},
			{ id:2, pId:1, name:"民一庭",url:"treetable.aspx",target:"ReportFrm"},
			{ id:3, pId:1, name:"民二庭",url:"treetable.aspx",target:"ReportFrm"},
			{ id:4, pId:1, name:"刑一庭",url:"treetable.aspx",target:"ReportFrm"},
			{ id:5, pId:1, name:"刑二庭",url:"treetable.aspx",target:"ReportFrm"},
			{ id:6, pId:1, name:"行政庭",url:"treetable.aspx",target:"ReportFrm"},
			{ id:7, pId:1, name:"赔偿办",url:"treetable.aspx",target:"ReportFrm"},
			{ id:8, pId:1, name:"审判庭",url:"treetable.aspx",target:"ReportFrm"},
			{ id:9, pId:1, name:"立案庭",url:"treetable.aspx",target:"ReportFrm"}		
		];
		
		
		
		var fy_Nodes =[
			{ id:1, pId:0, name:"柳州市中级人民法院", open:true,url:"treetable.aspx",target:"ReportFrm"},
			{ id:2, pId:1, name:"柳州市城中区人民法院",url:"treetable.aspx",target:"ReportFrm"},
			{ id:3, pId:1, name:"柳州市鱼峰区人民法院",url:"treetable.aspx",target:"ReportFrm"},
			{ id:4, pId:1, name:"柳州市柳南区人民法院",url:"treetable.aspx",target:"ReportFrm"},
			{ id:5, pId:1, name:"柳州市柳北区人民法院",url:"treetable.aspx",target:"ReportFrm"},
			{ id:6, pId:1, name:"柳江县人民法院",url:"treetable.aspx",target:"ReportFrm"},
			{ id:7, pId:1, name:"柳城县人民法院",url:"treetable.aspx",target:"ReportFrm"},
			{ id:8, pId:1, name:"鹿寨县人民法院",url:"treetable.aspx",target:"ReportFrm"},
			{ id:9, pId:1, name:"融安县人民法院",url:"treetable.aspx",target:"ReportFrm"},
			{ id:10, pId:1, name:"融水苗族自治县人民法院",url:"treetable.aspx",target:"ReportFrm"},
			{ id:11, pId:1, name:"三江侗族自治县人民法院",url:"treetable.aspx",target:"ReportFrm"}
			
		];
				
$(function() {
    $( "input:button").button();
//    $("#tsjg_tabs2").sSelect();
    
    $("#dialog").hide();
    $("#create").click(function(){
    
        $( "#dialog" ).dialog({
            autoOpen:true,
            height: 700,
            width:890,
            modal: true,
            buttons:{
                "生成绩效表":function () {
                },
                "取消":function(){
                    $(this).dialog("close");
                }
            },
            close:function () {
            
            }
            
        });
    });
    
    $( "#tabs" ).tabs();
    
    $.fn.zTree.init($("#tree1"), setting, zNodes);
    $.fn.zTree.init($("#tree2"), setting, zNodes2);
    $.fn.zTree.init($("#tree3"), setting, fy_Nodes);
});
